package com.fastloan.mgt.customer.model;

import com.fastloan.mgt.customer.anno.EnumObj;
import com.fastloan.mgt.customer.anno.TagAnno;
import com.fastloan.mgt.customer.enums.CustomerEnums;
import com.kawins.base.baseabs.BaseModel;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.util.Date;

/**
 * @author gelon createTime 2017/11/06 客户店铺信息
 */
@javax.persistence.Table(name = "ZY_CUSTOMER_STORE")
public class ZyCustomerStore extends BaseModel<String> {


    /**
     *
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @TagAnno(name = "")
    private String id;
    /**
     * 名称 店铺所有者
     */
    @TagAnno(name = "名称 店铺所有者")
    private String owerName;
    /**
     * 联系号码 所有者电话
     */
    @TagAnno(name = "联系号码 所有者电话")
    private String ownerPhoneNum;
    /**
     * 店铺名称
     */
    @TagAnno(name = "店铺名称")
    private String storeName;
    /**
     * 更改时间
     */
    @TagAnno(name = "更改时间")
    private Date modifyTime;
    /**
     * 微信标识
     */
    @TagAnno(name = "微信标识")
    private String wxSign;
    /**
     * 主营业务
     */
    @TagAnno(name = "主营业务")
    private String mainBusiness;
    /**
     * 店铺地址
     */
    @TagAnno(name = "店铺地址")
    private String storeAddress;
    /**
     * 被访者姓名
     */
    @TagAnno(name = "被访者姓名")
    private String respondentName;

    /**
     * 详细门牌号
     */
    @TagAnno(name = "详细门牌号")
    private String hausnummer;
    /**
     * 被访者号码
     */
    @TagAnno(name = "被访者号码")
    private String respondentPhone;
    /**
     * 有无淡旺季
     */
    @TagAnno(name = "有无淡旺季")
    private Integer seasonalBusiness;

    @Transient
    @EnumObj(mapping = "seasonalBusiness")
    private CustomerEnums.CommonYN[] seasonalBusinessEnums = CustomerEnums.CommonYN.values();

    /**
     * 淡季
     */
    @TagAnno(name = "淡季")
    private String lowSeason;
    /**
     * 旺季
     */
    @TagAnno(name = "旺季")
    private String highSeason;
    /**
     * 店铺招牌
     */
    @TagAnno(name = "店铺招牌")
    private String shoreImgId;
    /**
     * 客户id
     */
    @TagAnno(name = "客户id")
    private String customerId;


    public String getId() {
        return id;
    }

    public ZyCustomerStore setId(String id) {
        this.id = id;
        return this;
    }

    public String getOwerName() {
        return this.owerName;
    }

    public ZyCustomerStore setOwerName(String owerName) {
        this.owerName = owerName;
        return this;
    }

    public CustomerEnums.CommonYN[] getSeasonalBusinessEnums() {
        return seasonalBusinessEnums;
    }


    public String getStoreName() {
        return this.storeName;
    }

    public ZyCustomerStore setStoreName(String storeName) {
        this.storeName = storeName;
        return this;
    }

    public Date getModifyTime() {
        return this.modifyTime;
    }

    public ZyCustomerStore setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
        return this;
    }

    public String getWxSign() {
        return this.wxSign;
    }

    public ZyCustomerStore setWxSign(String wxSign) {
        this.wxSign = wxSign;
        return this;
    }

    public String getStoreAddress() {
        return this.storeAddress;
    }

    public ZyCustomerStore setStoreAddress(String storeAddress) {
        this.storeAddress = storeAddress;
        return this;
    }

    public String getRespondentName() {
        return this.respondentName;
    }

    public ZyCustomerStore setRespondentName(String respondentName) {
        this.respondentName = respondentName;
        return this;
    }


    public String getHausnummer() {
        return this.hausnummer;
    }

    public ZyCustomerStore setHausnummer(String hausnummer) {
        this.hausnummer = hausnummer;
        return this;
    }

    public String getOwnerPhoneNum() {
        return ownerPhoneNum;
    }

    public ZyCustomerStore setOwnerPhoneNum(String ownerPhoneNum) {
        this.ownerPhoneNum = ownerPhoneNum;
        return this;
    }

    public String getRespondentPhone() {
        return respondentPhone;
    }

    public ZyCustomerStore setRespondentPhone(String respondentPhone) {
        this.respondentPhone = respondentPhone;
        return this;
    }

    public Integer getSeasonalBusiness() {
        return this.seasonalBusiness;
    }

    public ZyCustomerStore setSeasonalBusiness(Integer seasonalBusiness) {
        this.seasonalBusiness = seasonalBusiness;
        return this;
    }

    public String getLowSeason() {
        return this.lowSeason;
    }

    public ZyCustomerStore setLowSeason(String lowSeason) {
        this.lowSeason = lowSeason;
        return this;
    }

    public String getHighSeason() {
        return this.highSeason;
    }

    public ZyCustomerStore setHighSeason(String highSeason) {
        this.highSeason = highSeason;
        return this;
    }

    public String getShoreImgId() {
        return this.shoreImgId;
    }

    public ZyCustomerStore setShoreImgId(String shoreImgId) {
        this.shoreImgId = shoreImgId;
        return this;
    }

    public String getCustomerId() {
        return customerId;
    }

    public ZyCustomerStore setCustomerId(String customerId) {
        this.customerId = customerId;
        return this;
    }

    public String getMainBusiness() {
        return mainBusiness;
    }

    public ZyCustomerStore setMainBusiness(String mainBusiness) {
        this.mainBusiness = mainBusiness;
        return this;
    }
}
